import { request } from "../request"
// 获取用户列表
export const userList = (data) => {
  return request({
    url: 'adminUser/userList',
    method: 'post',
    data
  })
}
// 添加修改用户
export const useradminadd = (data) => {
  return request({
    url: 'adminUser/useradminadd',
    method: 'post',
    data
  })
}
// 删除用户
export const userdelete = (params) => {
  return request({
    url: 'adminUser/userdelete',
    method: 'get',
    params
  })
}
// 添加小程序
export const appAdd = (data) => {
  return request({
    url: 'adminUser/appAdd',
    method: 'POSt',
    data
  })
}